package com.example.androidframework.ui.mine

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.androidframework.R
import com.example.androidframework.databinding.FragmentMineBinding
import com.martin.lib_base.base.BaseFragment

class MineFragment : BaseFragment<FragmentMineBinding, MineViewModel>() {
    override fun getViewModelClass(): Class<MineViewModel> {
        return MineViewModel::class.java
    }

    override fun layoutId(): Int {
        return R.layout.fragment_mine
    }

    override fun initOnViewCreated() {
        binding.viewModel = viewModel
    }

    companion object {
        fun getInstance() : Fragment {
            return MineFragment()
        }
    }

}